package com.ycd;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

// springboot启动类注解
@SpringBootApplication
// 开启Eureka客户端
@EnableEurekaClient
public class UserApp {

    public static void main(String[] args) {

        // new SpringApplicationBuilder(Application.class).web(true).run(args);
        SpringApplication.run(UserApp.class,args);
    }

}